﻿<!--
Copyright (c) 2008, Colin Burn
All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:

* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.

* Neither the name of WTCL nor the names of its contributors may be
used to endorse or promote products derived from this software
without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF
THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
DAMAGE.
-->
    
<Window x:Class="ChartTest.Window1"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:Charts="clr-namespace:WTCL.Charts;assembly=WTCL"
    xmlns:AreaChart="clr-namespace:WTCL.Charts.AreaChart;assembly=WTCL"
    xmlns:BarChart="clr-namespace:WTCL.Charts.BarChart;assembly=WTCL"
    xmlns:LineChart="clr-namespace:WTCL.Charts.LineChart;assembly=WTCL"
    xmlns:ScatterPlotChart="clr-namespace:WTCL.Charts.ScatterPlotChart;assembly=WTCL"
    xmlns:StackedBarChart="clr-namespace:WTCL.Charts.StackedBarChart;assembly=WTCL"
    xmlns:ValueWithRangeChart="clr-namespace:WTCL.Charts.ValueWithRangeChart;assembly=WTCL"
    Title="Window1" Height="600" Width="800">
        <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Border Grid.Column="0" Grid.Row="0" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <LineChart:DoubleVsDoubleLineChart x:Name="lineChart"/>
        </Border>
        <Border Grid.Column="0" Grid.Row="1" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <BarChart:DoubleBarChart x:Name="barChart"/>
        </Border>
        <Border Grid.Column="0" Grid.Row="2" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <StackedBarChart:DoubleStackedBarChart x:Name="stackedBarChart" />
        </Border>
        <Border Grid.Column="1" Grid.Row="0" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <ScatterPlotChart:DoubleVsDoubleScatterPlotChart x:Name="scatterPlotChart"/>
        </Border>
        <Border Grid.Column="1" Grid.Row="1" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <AreaChart:DoubleVsDoubleAreaChart x:Name="areaChart"/>
        </Border>
        <Border Grid.Column="1" Grid.Row="2" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <ValueWithRangeChart:TimeVsDoubleValueWithRangeChart x:Name="timeValueWithRangeChart"/>
        </Border>
        <Border Grid.Column="0" Grid.Row="3" CornerRadius="5" Padding="30, 10, 30, 10" BorderThickness="1" BorderBrush="Black" Background="#FFFFFFC0" Margin="10">
            <LineChart:TimeVsDoubleLineChart x:Name="xChart"/>
        </Border>            
        <Label Grid.Column="1" Grid.Row="3" x:Name="message"/>
    </Grid>
</Window>
